using System;
using System.ComponentModel;

namespace ShimsDemo.SystemUnderTest
{
	public class ViewModelBase : INotifyPropertyChanged
	{
		protected void RaisePropertyChanged(string propertyName)
		{
			if (propertyName == null)
				throw new ArgumentNullException("propertyName");
			if (PropertyChanged != null)
				PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
		}

		public event PropertyChangedEventHandler PropertyChanged;
	}
}